package com.jilefojing.service;

import java.util.List;

import com.jilefojing.beans.pojos.EBookChapter;
import com.jilefojing.beans.pojos.enhanced.EnhancedEBookChapter;
import com.jilefojing.beans.query.EBookChapterQuery;
import com.jilefojing.beans.vo.Pagination;
import com.jilefojing.context.beans.vo.UserContext;
import com.jilefojing.service.base.IBaseService;

/**
 * 
 * @author 作者 jgshun
 * @date 创建时间 2016年09月30日 20时22分10秒
 */
public interface IEBookChapterService extends IBaseService<EBookChapter> {

	Pagination<EnhancedEBookChapter> getPagination(long eBookId, Pagination<EnhancedEBookChapter> pagination, UserContext userContext);

	Pagination<EnhancedEBookChapter> getPagination(EBookChapterQuery eBookChapterQuery, Pagination<EnhancedEBookChapter> pagination, UserContext userContext);

	EnhancedEBookChapter appendEnhancedStatistics(EnhancedEBookChapter enhancedEBookChapter, UserContext userContext);

	List<EnhancedEBookChapter> appendEnhancedStatistics(List<EnhancedEBookChapter> enhancedEBookChapters, UserContext userContext);

	EnhancedEBookChapter getEnhancedPrevInEBook(long eBookId, long id, UserContext userContext);

	EnhancedEBookChapter getEnhancedNextInEBook(long eBookId, long id, UserContext userContext);

}
